package com.ganmiao.server.sys.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

@Data
public class DistrictInfoVo {

    @ApiModelProperty("编码")
    private String code;

    @ApiModelProperty("名称")
    private String name;

    @ApiModelProperty("上级编码（省级默认为0）")
    private String parentCode;

    @ApiModelProperty("级别：1省，2市，3区县")
    private String regionLevel;

    private List<DistrictInfoVo> children;


}
